<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Jayken (谢小舜)|谢小舜的个人博客</title>
    <meta name="description" content=" Jayken（谢小舜）的个人主页，记录我的程序员职业成长之路，分享前端、Java踩过的坑！">
    
    
    <link rel="preload" href="/assets/css/0.styles.0c98b5d4.css" as="style"><link rel="preload" href="/assets/js/app.2d175a42.js" as="script"><link rel="preload" href="/assets/js/2.af4947b8.js" as="script"><link rel="prefetch" href="/assets/js/10.ead388bb.js"><link rel="prefetch" href="/assets/js/11.c26367e4.js"><link rel="prefetch" href="/assets/js/12.e15eef2b.js"><link rel="prefetch" href="/assets/js/13.71248d26.js"><link rel="prefetch" href="/assets/js/14.caa891a6.js"><link rel="prefetch" href="/assets/js/15.dba29244.js"><link rel="prefetch" href="/assets/js/3.8c0cb32d.js"><link rel="prefetch" href="/assets/js/4.ea6b297e.js"><link rel="prefetch" href="/assets/js/5.e528d392.js"><link rel="prefetch" href="/assets/js/6.d3c0fe75.js"><link rel="prefetch" href="/assets/js/7.f9e4b783.js"><link rel="prefetch" href="/assets/js/8.cfbdc4b7.js"><link rel="prefetch" href="/assets/js/9.e68d7ec2.js">
    <link rel="stylesheet" href="/assets/css/0.styles.0c98b5d4.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container no-sidebar"><header class="navbar"><div class="navbar-wrap"><div><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><img src="/images/logo_z.gif" alt="Jayken (谢小舜)|谢小舜的个人博客" class="logo"> <!----></a> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">首页</a></div><div class="nav-item"><a href="/post/" class="nav-link router-link-exact-active router-link-active">博客</a></div><div class="nav-item"><a href="https://github.com/jaykenxie" target="_blank" rel="noopener noreferrer" class="nav-link external">
  GitHub
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div></div></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/" class="nav-link">首页</a></div><div class="nav-item"><a href="/post/" class="nav-link router-link-exact-active router-link-active">博客</a></div><div class="nav-item"><a href="https://github.com/jaykenxie" target="_blank" rel="noopener noreferrer" class="nav-link external">
  GitHub
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav>  <!----> </aside> <div sidebar-items="" class="posts"><div class="left"><div class="plist" data-v-d6e40e0a><ul data-v-d6e40e0a><li class="plist-card" data-v-d6e40e0a><a href="/post/2019062601.html" data-v-d6e40e0a><h3 class="themecolor" data-v-d6e40e0a>图解JS数组的forEach、map、find、reduce、filter方法</h3> <!----></a> <div class="plist-foot" data-v-d6e40e0a><span data-v-d6e40e0a>谢小舜</span> <span class="dot" data-v-d6e40e0a>·</span> <span data-v-d6e40e0a>6天前</span> <span class="dot" data-v-d6e40e0a>·</span> <a href="#JS" class="themecolor" data-v-d6e40e0a>#JS</a><a href="#Array" class="themecolor" data-v-d6e40e0a>#Array</a></div></li><li class="plist-card" data-v-d6e40e0a><a href="/post/2019062602.html" data-v-d6e40e0a><h3 class="themecolor" data-v-d6e40e0a>Vue递归组件做一个简单的树</h3> <p data-v-d6e40e0a>工作中要开发一个树形菜单翻了翻官网发现 Vue 有递归组件的功能，下面记录下用递归组件实现一个树组件。</p></a> <div class="plist-foot" data-v-d6e40e0a><span data-v-d6e40e0a>谢小舜</span> <span class="dot" data-v-d6e40e0a>·</span> <span data-v-d6e40e0a>6天前</span> <span class="dot" data-v-d6e40e0a>·</span> <a href="#Vue" class="themecolor" data-v-d6e40e0a>#Vue</a><a href="#组件" class="themecolor" data-v-d6e40e0a>#组件</a></div></li><li class="plist-card" data-v-d6e40e0a><a href="/post/2019060501.html" data-v-d6e40e0a><h3 class="themecolor" data-v-d6e40e0a>2019/6/4日 Vue作者尤雨溪技在深圳术分享内容</h3> <!----></a> <div class="plist-foot" data-v-d6e40e0a><span data-v-d6e40e0a>谢小舜</span> <span class="dot" data-v-d6e40e0a>·</span> <span data-v-d6e40e0a>6天前</span> <span class="dot" data-v-d6e40e0a>·</span> <a href="#Vue" class="themecolor" data-v-d6e40e0a>#Vue</a></div></li><li class="plist-card" data-v-d6e40e0a><a href="/post/2019053101.html" data-v-d6e40e0a><h3 class="themecolor" data-v-d6e40e0a>JS判断一个对象是否为空</h3> <p data-v-d6e40e0a>在JS开发中经常会需要判断一个对象是否为空，下面记录了几种简单的方法</p></a> <div class="plist-foot" data-v-d6e40e0a><span data-v-d6e40e0a>谢小舜</span> <span class="dot" data-v-d6e40e0a>·</span> <span data-v-d6e40e0a>3个月前</span> <span class="dot" data-v-d6e40e0a>·</span> <a href="#JS" class="themecolor" data-v-d6e40e0a>#JS</a></div></li><li class="plist-card" data-v-d6e40e0a><a href="/post/2019052901.html" data-v-d6e40e0a><h3 class="themecolor" data-v-d6e40e0a>a == 1 &amp;&amp; a == 2 &amp;&amp; a == 3 是否为true</h3> <p data-v-d6e40e0a>今天在逛社区中看到如下一题:</p></a> <div class="plist-foot" data-v-d6e40e0a><span data-v-d6e40e0a>谢小舜</span> <span class="dot" data-v-d6e40e0a>·</span> <span data-v-d6e40e0a>3个月前</span> <span class="dot" data-v-d6e40e0a>·</span> <a href="#JS" class="themecolor" data-v-d6e40e0a>#JS</a></div></li><li class="plist-card" data-v-d6e40e0a><a href="/post/2019052902.html" data-v-d6e40e0a><h3 class="themecolor" data-v-d6e40e0a>new 做了哪些事情?</h3> <p data-v-d6e40e0a>我们在初始化一个构造函数实例时，需要用new操作符去初始化实例，那么我们在new 一个构造函数的时候new到底为我们做了什么呢？</p></a> <div class="plist-foot" data-v-d6e40e0a><span data-v-d6e40e0a>谢小舜</span> <span class="dot" data-v-d6e40e0a>·</span> <span data-v-d6e40e0a>3个月前</span> <span class="dot" data-v-d6e40e0a>·</span> <a href="#JS" class="themecolor" data-v-d6e40e0a>#JS</a></div></li><li class="plist-card" data-v-d6e40e0a><a href="/post/2019052903.html" data-v-d6e40e0a><h3 class="themecolor" data-v-d6e40e0a>简单实现 call、apply、 bind</h3> <p data-v-d6e40e0a>call() 方法调用一个函数, 其具有一个指定的this值和分别地提供的参数(参数的列表)。</p></a> <div class="plist-foot" data-v-d6e40e0a><span data-v-d6e40e0a>谢小舜</span> <span class="dot" data-v-d6e40e0a>·</span> <span data-v-d6e40e0a>3个月前</span> <span class="dot" data-v-d6e40e0a>·</span> <a href="#JS" class="themecolor" data-v-d6e40e0a>#JS</a></div></li></ul> <div class="plist-pages" data-v-d6e40e0a><div class="el-pagination is-background" data-v-d6e40e0a><button type="button" disabled="disabled" class="btn-prev"><i class="el-icon el-icon-arrow-left"></i></button><ul class="el-pager"><li class="number active">1</li><!----><!----><!----></ul><button type="button" disabled="disabled" class="btn-next"><i class="el-icon el-icon-arrow-right"></i></button></div></div></div></div> <div class="right"><div class="author" data-v-14cc6f53><div class="card" data-v-6bd1838c data-v-14cc6f53><h3 class="card-title" data-v-6bd1838c>作者</h3> <div class="card-content" data-v-6bd1838c><div class="author-content" data-v-6bd1838c data-v-14cc6f53><img data-v-6bd1838c data-v-14cc6f53> <div class="author-content_title" data-v-6bd1838c data-v-14cc6f53><h3 data-v-6bd1838c data-v-14cc6f53></h3> <span data-v-6bd1838c data-v-14cc6f53></span></div></div> <div class="author-foot" data-v-6bd1838c data-v-14cc6f53><span data-v-6bd1838c data-v-14cc6f53>Repos: </span> <span data-v-6bd1838c data-v-14cc6f53>Follow: </span></div></div> <div data-v-6bd1838c></div></div></div> <div class="card" data-v-6bd1838c><h3 class="card-title" data-v-6bd1838c>标签云：all</h3> <div class="card-content" data-v-6bd1838c><div class="tags" data-v-6bd1838c><div class="tagcloud"><div style="position:relative;width:100%;height:100%;"><div style="position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"></div></div></div></div></div> <div data-v-6bd1838c></div></div></div></div> <footer class="footer" data-v-437632ea><div class="footer-ctx" data-v-437632ea><div class="footer-ctx-l" data-v-437632ea><h5 data-v-437632ea>自述</h5> <p data-v-437632ea>接触前端以来一直想自己设计开发一个博客，用于分想和记录工作、生活和学习中遇到的问题，与解决问题的思路和感悟。 (^o^)/~。</p></div> <div class="footer-ctx-m" data-v-437632ea><h5 data-v-437632ea>相关链接</h5> <ul class="flink" data-v-437632ea><li class="flink-wrap" data-v-437632ea><a href="/" class="dedline" data-v-437632ea>关于我</a></li><li class="flink-wrap" data-v-437632ea><a href="https://github.com/jaykenxie" class="dedline" data-v-437632ea>GitHub</a></li><li class="flink-wrap" data-v-437632ea><a href="https://weibo.com/autoshun" class="dedline" data-v-437632ea>微博</a></li></ul></div> <div class="footer-ctx-r" data-v-437632ea><img src="/images/logo_w.png" alt="Jayken (谢小舜)|谢小舜的个人博客" class="footer-ctx-r_logo" data-v-437632ea></div></div> <div class="footer-info" data-v-437632ea><a href="/" data-v-437632ea>©Jayken</a> <i data-v-437632ea> · </i> <a href="https://v1.vuepress.vuejs.org" data-v-437632ea>Vuepress</a>
      |  
    <a href="http://www.miitbeian.gov.cn/publish/query/indexFirst.action" target="_blank" class="dedline" data-v-437632ea>粤ICP备18012800号-2</a></div></footer></div><div class="global-ui"></div></div>
    <script src="/assets/js/app.2d175a42.js" defer></script><script src="/assets/js/2.af4947b8.js" defer></script>
  </body>
</html>
